<% rss_community ||= false%>
<% fields_for "rss_channel_attributes[]", rss_field do |f| %>
	<% if rss_community %>
		<%= f.select :url, @communities, {:include_blank=>"Выберите комуну"}, {:style=>"border: 1px solid rgb(0, 137, 225); width: 215px; margin-bottom: 5px;"}  %>
	<% else %> 
		<%= f.text_field :url, :style=>"border: 1px solid rgb(0, 137, 225); width: 360px; margin-bottom: 5px;" %>
	<% end %>
	<br/>
<% end %>
